#ifndef WALLPAPER_H
#define WALLPAPER_H

#include <QWidget>

class QMediaPlaylist;
class QMediaPlayer;
class QVideoWidget;

class WallPaper : public QWidget
{
    Q_OBJECT
public:
    explicit WallPaper(QWidget *parent = nullptr);
    bool setVideo(QString path);
    void play();

private:
    QMediaPlaylist *playlist;
    QMediaPlayer *player;
    QVideoWidget *videoWidget;

signals:

};

#endif // WALLPAPER_H
